import com.by.dao.EmpDao;
import com.by.dao.imple.EmpDaoImpl;
import com.by.entity.Emp;
import org.testng.annotations.Test;

import java.util.List;

public class MyText1 {
    @Test
    public void test1(){
        System.out.println("111");

    }
    //随意的东西验证
    @Test
    public void testQueryEmp() {
        EmpDao empDao = new EmpDaoImpl();
        List<Emp> list = empDao.getAllEmp();

        for (Emp e : list) {
            System.out.println(e.getEid() + "," + e.getEname());
        }

    }


}
